package com.gmu.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 医护人员活动地点表
 * </p>
 *
 * @author testjava
 * @since 2022-07-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="TblDoctorAddress对象", description="医护人员活动地点表")
public class TblDoctorAddress implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "序列号")
    @TableId(value = "doctor_address_id", type = IdType.AUTO)
    private Integer doctorAddressId;

    @ApiModelProperty(value = "医护人员(所有)id")
    private Integer activitiesDoctorId;

    @ApiModelProperty(value = "活动地点id")
    private Integer activitiesAddressId;

    @ApiModelProperty(value = "活动开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")//设置查询数据库得到的时间格式，否则是这种格式的 2022-05-29T09:43:52.000+00:00
    private Date activitiesBeginTime;

    @ApiModelProperty(value = "活动结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")//设置查询数据库得到的时间格式，否则是这种格式的 2022-05-29T09:43:52.000+00:00
    private Date activitiesEndTime;


}
